package com.geekstudy.week8.hmily;

import org.aspectj.lang.ProceedingJoinPoint;
import org.dromara.hmily.core.context.HmilyTransactionContext;
import org.dromara.hmily.core.service.HmilyTransactionHandler;

public class StarterHmilyTccTransactionHandler implements HmilyTransactionHandler, AutoCloseable {

    private final HmilyTccTransactionExecutor executor = HmilyTccTransactionExecutor.getInstance();

    // private HmilyDisruptor<HmilyTransactionTask> disruptor;

    @Override
    public void close() throws Exception {
       //  disruptor.getProvider().shutdown();
    }

    @Override
    public Object handler(ProceedingJoinPoint proceedingJoinPoint, HmilyTransactionContext hmilyTransactionContext) throws Throwable {
        return null;
    }


}
